
@bgColor: #6fb2e5;
@textColor: #333;

@bgDisabledColor: #36566E;
@disabledTextColor: #aaa; 

@bgHoverColor: #A9D1EF;
@bgCheckedColor: #4E7DA0;
@borderColor: rgba(0,0,1.0,0.8);

@bgGlass: rgba(178,215,255,0.75);

body {
  margin:0;
  padding:0;
}
#NLROOT {
	color: @textColor;
}

input, textarea, select {
	-webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
  color:inherit;
  background: @bgColor;
  border: 1px solid @borderColor;
  box-shadow: 0 1px 5px #0061aa, inset 0 10px 20px #b6f9ff;
  
}

input:disabled {
	background-color: @bgDisabledColor;
	box-shadow: 0 1px 5px @bgDisabledColor, inset 0 10px 20px @bgHoverColor;
	color: @disabledTextColor; 
}

input[type="button"] {
	border-radius: 2px;
  text-shadow: 0 1px #fff;
  padding: 2px 4px;
}

input[type="button"]:hover:not(:disabled) {
	background: @bgHoverColor; 
}

input[type="checkbox"], input[type="radio"] {
	display: inline-block;
	font-size: 15px;
	line-height: 1em;
	margin: 0 0.25em 0 0;
	width: 1.25em;
	height: 1.25em;
	border-radius: 4px;
	vertical-align: text-top;
}

input[type="radio"] {
	border-radius: 10px;
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
	background-color: @bgCheckedColor;
	box-shadow: inset 0 0 1px 4px @bgColor;
}

input[type="checkbox"]:hover:not(:checked):not(:disabled), input[type="radio"]:hover:not(:checked):not(:disabled) {
	background-color: @bgHoverColor;
	box-shadow: inset 0 0 1px 3px @bgColor;
}

input[type="text"], input[type="password"] {
	border-radius: 5px;
	text-indent: 4px;
}

.nlPanel {  
	padding: 2px;
}

.nlNormalPanel {
	border-radius: 0.2em;
	border-color: @borderColor;
	border-width: 0.1em;
	border-style: inset;
}

.nlSolidPanel {
	background-color: @bgColor;
}

.nlGradientPanel {
	background-color: @bgColor;
	background: linear-gradient(to bottom, @bgColor 0%,@bgDisabledColor 100%);
}

.nlGlassPanel {
	background: @bgGlass;
	box-shadow: 0 2px 2px rgba(0,0,0,0.5), 
		inset 0 1px rgba(255,255,255,0.3), 
		inset 0 10px 20px rgba(255,255,255,0.25),
		inset 0 -15px 30px rgba(0,0,0,0.3);
  text-shadow: 0 0 15px #fff, 0 0 15px #fff;
}

.nlVPanel * {
	display: block;
}

.nlHPanel * {
	display:cell;
}

.nlWindow {
	position: relative;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	margin: 2px;
	border-radius: 10px 10px 2px 2px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.5), 
		inset 0 1px rgba(90,90,90,0.3), 
		inset 0 10px 20px rgba(45,45,45,0.25),
		inset 0 -15px 30px rgba(0,0,0,0.3);
}

.nlWindow div[nlwbar] {
	text-shadow: 0 0 15px white, 0 0 15px white;
}

.nlWindow input[nlwclose] {
	border-radius: 6px;
	font-weight:bold;
	width: 20px;
	height: 20px;
	float: right;
}

.nlWindow div[nlwcontent] {
	margin:2px 1px 2px 2px;
	background-color: white;
	border: 1px solid black;
	border-radius: 10px 10px 2px 2px;
	text-shadow: none;
	overflow:auto;
	-webkit-box-flex: 1;
}


